<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
		<%!
			int doubleCount(){
			return count*2;
		}
		
		%>

		<%! int count = 0; %>
		<% int a = 1; %>
		你好,今天是
		<%
		Date today = new Date();
		%>
		<%=today.getDate() %>号,
		星期<%=today.getDay() %>
		a的值是<%=a %>
		
</body>
</html>